<div id="content">
<div id="box">
<h3 class="title">广告列表</h3>
<table width="100%" class="admin-table">
<thead>
	<tr>
    	<th class="a-center">ID</th>
    	<th class="a-center">名称</th>
    	<th class="a-center">位置</th>
    	<th class="a-center">排序</th>
    	<th class="a-center">操作</th>
    </tr>
</thead>
<tbody>
	{if !empty($this->data['data'])}
	<!--{loop $this->data['data'] $info}-->
	<tr>
    	<td class="a-center">{$info['id']}</td>
    	<td class="a-center">{$info['name']}</td>
    	<td class="a-center">{$this->data['positions'][$info['position']]}</td>
        <td class="a-center">{$info['orderby']}</td>
        <td class="a-center"><a href="{url('Ad','Edit',array('id'=>$info['id']))}">编辑</a> | <a href="{url('Ad','Del',array('id'=>$info['id']))}" onclick="return confirm('确定要删除么？');">删除</a></td>
    </tr>
    <!--{/loop}-->
    {/if}
</tbody>
</table>
</div>
</div>